package com.sc.sc250601.cook.mapper;

import com.sc.sc250601.cook.pojo.SalesRankDTO;
import com.sc.sc250601.cook.pojo.Snack;

import java.util.List;

public interface SnackMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Snack record);

    int insertSelective(Snack record);

    Snack selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Snack record);

    int updateByPrimaryKeyWithBLOBs(Snack record);

    int updateByPrimaryKey(Snack record);

    List<Snack> dayNew();

    List<SalesRankDTO> weekTop();
}